home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2012 February / maximum-cd-2012-02.iso / DiscContents / TheWagerSetup1.2.exe / Assets / Scripts / [23].lua < prev    next >
Encoding:
Text File  |  2011-11-10  |  728 b   |  20 lines

  1. -- Script [23]
  2. Starting = 1;
  3. SeaEvent = 0;
  4.  
  5. SetBoolFlag(1, True);
  6.  
  7. PlayerCash = math.max(PlayerCash - 2000, 0);
  8.  
  9. ShowStoryText("Whilst off exploring the island, something terrible has happened! Upon your return, you find that your hold has been ransacked and around 2000 Pieces are missing from it. Further inspection reveals the trademark traces of fur and stench of banana that can only be the work of a Monkey Thief.");
  10.  
  11. if InInventory("{5}") then
  12.   AddChoice("Attempt to bribe the monkey with your golden banana", "[24]");
  13. end
  14.  
  15. AddChoice("Try to capture the monkey through sheer skill", "[25]");
  16.  
  17. AddChoice("Give up. Monkeys are clearly nothing but trouble.", "[26]");
  18. SetStartingEvent(ScriptID, false);
  19.  
  20.